flutter string contains

58

List<String> myList = ['US', 'SG', 'US'];
print(myList.where((item) => item.contains("US")));

Comments

Submit
0 Comments